import request from '../utils/request'

export function getBlogById(data) {
  return request({
    url: '/blogContent/getBlogById',
    method: 'get',
    params: data
  })
}

export function getCommentListByBlogIdAndLimit(data) {
  return request({
    url: '/blogContent/getCommentListByBlogIdAndLimit',
    method: 'get',
    params: data
  })
}

export function addComment(data) {
  return request({
    url: '/blogContent/addCommentByComment',
    method: 'post',
    data: data
  })
}

